export interface Login {
  access_token: string
  refresh_token: string
  dept_id: number
  expires_in: number
  jti?: string
  scope: string
  token_type?: string
  user_id: string
  user_name: string
}

export interface LoginParams {
  username?: string
  password?: string
  grant_type: string
  type?: 1 | 2 // 1.通过登录页面 2.通过url方式
  client_id: string
  client_secret: string
  refresh_token?: string
}
